package gov.mogaha.ntis.cmm.mob.law.util;

public class CmmMobLawStr {	
	public static final String _DEBUG = "debug";
	public static final String _ERROR = "error";
	public static final String _INFO = "info";
	
	public static final String _LAWURL = "http://www.law.go.kr";
	
	public static final String _ACTION1 = "/DRF/lawSearch.do?OC=open&type=XML&nw=3&display=20";
	public static final String _ACTION2 = "/LSW/lsInfoR.do?lsiSeq=";
	
	public static final String _ID = "etoile79";
	public static final String _OC = "OC";
	public static final String _TARGET = "target";
	public static final String _MST = "MST";
	public static final String _QUERY = "query";
	public static final String _TYPE = "type";
	public static final String _PAGE = "page";
	
	public static final String _EXPRESS_BY_DUAL = "(<div\\s*(id|class)\\s*=\\s*('|\")contentBody('|\"))";

	public static final String _HTML_START_TAG = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>";
	public static final String _CSS_TAG = "<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\" />";
	
	public static final String _DATE_EXP = "%s년%s월%s일";
	
	public static final String [] _CSS_FILES = {"common.css", "content.css","xtheme-layer.css","xtheme-lsHst.css","xtheme-lsOutput.css","calendar.css","ls-ex.css","oldandnew.css","thdcmp.css","ext_all_ex.css","xtheme-ls.css"};
	
	public static final String _HTML_FILE_NAME = "CurrentHtmlTemp.html";
	
	public static final String _LOCATION = "/data/data/gov.mogaha.ntis.mob.cmm/files/";
	public static final String _CSS_PATH = "cmm/law/css/";
	
	public static final String _REG_EXP_CHECKBOX = "<\\s*input\\s*type\\s*=\\s*('|\")checkbox('|\")(\\s[a-zA-Z]*=[^>]*)?(\\s)*(/)?>";
	public static final String _REG_EXP_IMG = "<\\s*img(\\s[a-zA-Z]*=[^>]*)?(\\s)*(/)?>";
	public static final String _REG_EXP_P = "<\\s*p\\s*class\\s*=\\s*('|\")pty1('|\")(\\s[a-zA-Z]*=[^>]*)?(\\s)*(/)?>";
	public static final String _REG_EXP_A = "<(/)?\\s*a(\\s[a-zA-Z]*=[^>]*)?(\\s)*(/)?>";
	
	public static final String _CHG_EXP_P = "<p class=\"pty1\">";
	
	public static final String _HTML_START_TAG_1 = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-16le\">\n<html>\n<head>\n<title></title>\n<style>\n";
	public static final String _HTML_START_TAG_2 = "</style>\n</head>\n<body>";
	public static final String _HTML_END_TAG = "</body>\n</html>";
	
	
	public static final String _LAW = "law";				// 법령
	public static final String _ADMRUL = "admrul";  		// 행정규칙
	public static final String _ORDIN = "ordin";			// 자치법규
	public static final String _TRTY = "trty";				// 조약
	public static final String _PREC = "prec";				// 판례/해석례
	public static final String _LICBYL = "licbyl";			// 별표서식
	public static final String _LSTRM = "lstrm";			// 법령용어
	
	public static final String _TITLE_NAME = "대한민국 현행법령";
	public static final String _ERROR_MESSAGE_1 = "조회된 데이터가 없습니다.";
	public static final String _ERROR_MESSAGE_2 = "더이상 데이터가 없습니다.";
}
